package pers.whj.sort;

public class SortException extends Exception {
    public static final String ERROR = "错误！";
    public static final String EMPTY_DATA = "待排序数据为空！";
    public static final String LARGE_DATA = "待排序数据量过大！";
    public static final String CROSS_BORDER = "排序范围错误！";
    public static final String DATA_NOT_NUMBER = "数据类型不支持！";

    public SortException() {
        this(ERROR);
    }

    public SortException(String error) {
        super(error);
    }
}